package com.main.usermanagement.domain.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.main.common.base.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.autoconfigure.domain.EntityScan;

/**
 * @author Lin 2025/03/21
 * @version 1.0.0
 * 用户地址实体
 */
@TableName("user_address")
@EqualsAndHashCode(callSuper = true)
@Data
@EntityScan
public class UserAddress extends BaseEntity {
    @TableField(value = "user_info_id")
    private Long userInfoId;
    @TableField(value = "street")
    private String street;
    @TableField(value = "city")
    private String city;
    @TableField(value = "state")
    private String state;
    @TableField(value = "zip")
    private String zip;
    @TableField(value = "country")
    private String country;
}
